package com.weds.edpf.core .service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.List;

import com.weds.core.base.BaseService;
import com.weds.edpf.core.mapper .ConfigVerMapper;
import com.weds.edpf.core.entity .ConfigVerEntity;

/**
 * @Author sxm
 * @Description ConfigVer管理
 * @Date 2020-06-15
 */
@Service
public class ConfigVerService extends BaseService {

	@Autowired
	private ConfigVerMapper configVerMapper;

	private Logger log = LogManager.getLogger();

	public int deleteByPrimaryKey(Integer xh) {
		return configVerMapper.deleteByPrimaryKey(xh);
	}

	public int insert(ConfigVerEntity record) {
		return configVerMapper.insert(record);
	}

	public int insertSelective(ConfigVerEntity record) {
		return configVerMapper.insertSelective(record);
	}

	public ConfigVerEntity selectByPrimaryKey(Integer xh) {
		return configVerMapper.selectByPrimaryKey(xh);
	}

	public int updateByPrimaryKeySelective(ConfigVerEntity record) {
		return configVerMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(ConfigVerEntity record) {
		return configVerMapper.updateByPrimaryKey(record);
	}

    	public List<ConfigVerEntity> selectListByEntity(ConfigVerEntity record) {
		return configVerMapper.selectListByEntity(record);
	}
	
	

        public int deleteBatchByKeys(List<ConfigVerEntity> list) {
        return configVerMapper.deleteBatchByKeys(list);
    }
    
    	public int insertBatch(List<ConfigVerEntity> list) {
		return configVerMapper.insertBatch(list);
	}
	}
